home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / netz / magplip / source / rt.asm < prev    next >
Assembly Source File  |  1995-08-20  |  2KB  |  111 lines

  1. ;*
  2. ;*  $VER: rt.asm 1.1 (20 Aug 1995)
  3. ;*
  4. ;*  magplip.device - Parallel Line Internet Protocol
  5. ;*
  6. ;*  Original code written by Oliver Wagner and Michael Balzer.
  7. ;*
  8. ;*  This version has been completely reworked by Marius Gröger, introducing
  9. ;*  slight protocol changes. The new source is a lot better organized and
  10. ;*  maintainable.
  11. ;*
  12. ;*  Additional changes and code cleanup by Jan Kratochvil and Martin Mares.
  13. ;*  The new source is significantly faster and yet better maintainable.
  14. ;*
  15. ;*  (C) Copyright 1993-1994 Oliver Wagner & Michael Balzer
  16. ;*  (C) Copyright 1995 Marius Gröger
  17. ;*  (C) Copyright 1995 Jan Kratochvil & Martin Mares
  18. ;*      All Rights Reserved
  19. ;*
  20. ;*  $HISTORY:
  21. ;*
  22. ;*  20 Aug 1995 : 001.001 :  stub() MUST return 0 (jk/mm)
  23. ;*  12 Feb 1995 : 001.000 :  reworked original
  24. ;*
  25.  
  26. ;*
  27. ;* include files
  28. ;*
  29.     IFND EXEC_NODES_I
  30.     INCLUDE "exec/nodes.i"
  31.     ENDC
  32.     IFND EXEC_RESIDENT_I
  33.     INCLUDE "exec/resident.i"
  34.     ENDC
  35.     IFND EXEC_INITIALIZERS_I
  36.     INCLUDE "exec/initializers.i"
  37.     ENDC
  38.     IFND DOS_DOS_I
  39.     INCLUDE "dos/dos.i"
  40.     ENDC
  41.  
  42.     INCLUDE "magplip.i"
  43.     INCLUDE "magplip_rev.i"
  44. ;*
  45. ;* imports
  46. ;*
  47.     xref  _DevInit
  48.  
  49.     xref  _DevOpen
  50.     xref  _DevClose
  51.     xref  _DevExpunge
  52.     xref  _DevExtFunc
  53.     xref  _DevBeginIO
  54.     xref  _DevAbortIO
  55.  
  56.     section "text",code
  57.  
  58.     moveq #RETURN_FAIL,d0
  59.     rts
  60.  
  61. romtag:
  62.     dc.w  RTC_MATCHWORD
  63.     dc.l  romtag
  64.     dc.l  endskip
  65.     dc.b  RTF_AUTOINIT
  66.     dc.b  VERSION
  67.     dc.b  NT_DEVICE
  68.     dc.b  0               ; priority
  69.     dc.l  devname
  70.     dc.l  devid
  71.     dc.l  inittable
  72.  
  73. devname:
  74.     dc.b "magplip.device",0
  75.  
  76.     dc.b  0,'$VER: '
  77. devid:
  78.     VSTRING
  79.  
  80.     cnop 0,2
  81.  
  82. inittable:
  83.     dc.l  PLIPBase_SIZE
  84.     dc.l  functable,datatable,_DevInit
  85.  
  86. functable:
  87.     dc.l  _DevOpen
  88.     dc.l  _DevClose
  89.     dc.l  _DevExpunge
  90.     dc.l  stub
  91.     dc.l  _DevBeginIO
  92.     dc.l  _DevAbortIO
  93.     dc.l  -1
  94.  
  95. datatable:
  96.     INITBYTE LN_TYPE,NT_DEVICE
  97.     INITLONG LN_NAME,devname
  98.     INITBYTE LIB_FLAGS,LIBF_SUMUSED!LIBF_CHANGED
  99.     INITWORD LIB_VERSION,VERSION
  100.     INITWORD LIB_REVISION,REVISION
  101.     INITLONG LIB_IDSTRING,devid
  102.     dc.w  0
  103.  
  104. stub:
  105.     moveq #0,d0
  106.     rts
  107.  
  108. endskip:
  109.  
  110.     END
  111.